<?php
/**
 * The template for displaying 404 pages (Not Found).
 *
 * @package WordPress
 * @subpackage MIP
 * @since MIP 1
 */

get_header(); ?>
	<div id="header_inner">
		<div id="headertext">
		<h1 class="pagetitle"><?php _e( 'Not Found' ); ?></h1>
		</div>
	</div>
	
	<!-- BEGIN CONTENT -->
	<div id="container_content">
	<div id="padding_content">
		<div id="maincontent">
			<div id="main">
				<div id="content">
					<div id="post-0" class="post error404 not-found">
						<div class="entry-content">
							<p><?php _e( 'Apologies, but the page you requested could not be found. Perhaps searching will help.' ); ?></p>
							<?php get_search_form(); ?>
						</div><!-- .entry-content -->
					</div><!-- #post-0 -->

					<script type="text/javascript">
						// focus on search field after it has loaded
						document.getElementById('s') && document.getElementById('s').focus();
					</script>
				</div><!-- end of content -->
			</div><!-- end of main -->
			<div id="side">
				<?php get_sidebar(); ?>
			</div><!-- end of side -->
		</div><!-- end of maincontent -->
	</div>
	<div class="clr"></div>
	</div>
	<!-- END OF CONTENT -->
	
	</div><!-- end of centercolumn -->
</div><!-- end of main container -->
<?php get_footer(); ?>
